nav {
    width: 760px;
    margin: auto;
}

nav ul {
    display: inline-block;
     width: 770px;
    margin: auto;
    margin-left: -10px;
    
    -moz-padding-start: 10px;
    -webkit-padding-start: 10px;
    background-color: white; 
}

#categorylist .categorytab a {
    text-decoration: none;
    color: white;
}

#categorylist .categorytab {
    list-style-type: none;
    display: inline-block;
    font-family: sans-serif;
    color: white;
    background-color: #83c359;
    padding: 5px 15px;
    background-image: url('../images/lefttab.png'), url('../images/righttab.png');
    background-position: left, right;
    background-repeat: no-repeat, no-repeat;
}

#categorylist .categorytabselected {
    background: white;
    margin: 0px;
}

#categorylist .categorytabselected a {
    color: black;
}

nav.admincategorylist ul {
    background: none;
}

nav.admincategorylist .categorytab a {
    text-decoration: none;
    color: #AAAAAA;
    text-shadow: 0px 1px 1px rgba(255,255,255,1)
}

nav.admincategorylist .categorytab {
    list-style-type: none;
    display: inline-block;
    font-family: sans-serif;
    background-color: #D3D3D3;
    padding: 5px 15px;
    padding-top: 6px;
    border-top: 1px solid white;
    border-bottom: 1px solid black;
    margin-right: -4px;
    margin-top: -10px;
}

nav.admincategorylist .categorytabselected {
    background-color: white;
    border: 1px solid black;
    margin-right: -4px;
    padding: 5px 14px;
    border-bottom: none;
    padding-bottom: 6px;
}

nav.admincategorylist .categorytabselected a {
    color: black;
    
}